﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UboxRecommend.ascx.cs" Inherits="UserControl_UbxoRecommend" %>

<style>
    .recommend-content{
        cursor: default;
        width: 300px;
        margin: 0 auto 15px auto;
        padding-bottom: 5px;
        border-radius: 6px;
        background-color: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
    }
    .recommend-top, .recommend-bottom, .recommend-bottom,  .recommend-top-contenet{
                /*border: 1px solid green;*/
    }
    .recommend-top{
        padding: 18px 6px;
        height: 56px;
        background-color: rgba(221, 221, 221, 0.9);
        box-shadow: 0 2px 2px 1px rgba(0,0,0,.1);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 6px 6px 0 0;
    }
    .recommend-top-contenet{
        margin:auto;
        text-align: center;
    }
    .recommend-top img{
        height: 28px;
        width: 28px;
    }
    /*MainPage.css 有重複*/
    .recommend-bottom{
    height: 420px;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 5px;
    padding-bottom: 10px;
    padding-top:10px;
    background:#fff;
    /*border: 1px solid rgba(0,0,0,.1);*/
}
.recommend-bottom img{
    padding-top:5px;
    width: 80px;
    /*height: 150px;*/
    margin: 2px;
    opacity: 0.5;
}

.recommend-bottom img:hover{

    opacity: 1;
}

    #RelatedArcitlePagination {
        height:45px;
    text-align:center;
    /*cursor: pointer;*/
    background:rgba(248, 248, 248, 0.9);
    }

        #navItem-1 {
            list-style-type: none; 
            display:inline;
        }
        #navItem1 {
            list-style-type: none; 
            display:inline;

        }
        #navItem0 {
            list-style-type: none; 
            display:inline;
        }
        .pagination {
            margin-top:10px;
        }

</style>

<div class="recommend-content">
    <div class="recommend-top">
        <div class="recommend-top-contenet">
            <span><i class="glyphicon glyphicon-folder-open"></i>&nbsp;&nbsp;&nbsp;來自&nbsp;</span>
            <span class="user-name" id="linkAuthorPage2"></span>
        </div>
    </div>
    <div class="recommend-bottom">
        <div id="DivRelatedArcitle" class="recommend-bottom-content">

        </div>
    </div>
    <div id="RelatedArcitlePagination" ><ul id="pagination"class="pagination pagination-sm"></ul></div>
</div>













<script>
    //點到登入表單 不要氣泡至login-container引發hideLoginContainer()
    $('.recommend-content').click(function (event) {
        event.stopPropagation();
    });
</script>